package com.weijian.dal.dataobject;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

/**
 * @author weijian
 */
@TableName(value = "base_conversation", autoResultMap = true)
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class BaseConversation extends BaseDO {

    @Schema(description = "id")
    @TableId(type = IdType.AUTO)
    private Long id;

    @Schema(description = "对话id")
    private String conversationId;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "内容")
    private String content;

}
